<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  <div class="alert alert-warning-light"> 温馨提示：商品详情会自动加载店铺所有优惠券，客户端用户中心仅推荐 [可用范围] 为 [全部商品] 详情 </div>
  <div id="app" v-cloak>

    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">名称:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
      </div>
    </div>
<!--    <div class="form-group">-->
<!--      <label class="control-label col-xs-12 col-sm-2">店铺:</label>-->
<!--      <div class="col-xs-12 col-sm-8">-->
<!--        <input id="c-shop_id" data-rule="required" class="form-control" name="row[shop_id]" type="text" value="">-->
<!--      </div>-->
<!--    </div>-->
    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">商品:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-goods_id" data-rule="required" class="form-control" name="row[goods_id]" type="text" value="">
      </div>
    </div>

    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">抵扣金额:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-money" data-rule="required" class="form-control" name="row[money]" type="number" step="0.01" value="">
      </div>
    </div>

    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">单次购买数量:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-issued" data-rule="required" class="form-control" name="row[issued]" type="number" value="">
      </div>
    </div>

    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">过期天数:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-expire_time" data-rule="required" class="form-control" name="row[expire_time]" type="number" value="">
      </div>
    </div>

    <div class="form-group layer-footer">
      <label class="control-label col-xs-12 col-sm-2"></label>
      <div class="col-xs-12 col-sm-8">
        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
      </div>
    </div>
  </div>
</form>
